import request from '@/utils/request'

// 查询圈子行程列表
export function listCircleStroke(query) {
  return request({
    url: '/system/circleStroke/list',
    method: 'get',
    params: query
  })
}

// 查询圈子行程详细
export function getCircleStroke(id) {
  return request({
    url: '/system/circleStroke/' + id,
    method: 'get'
  })
}

// 新增圈子行程
export function addCircleStroke(data) {
  return request({
    url: '/system/circleStroke',
    method: 'post',
    data: data
  })
}

// 修改圈子行程
export function updateCircleStroke(data) {
  return request({
    url: '/system/circleStroke',
    method: 'put',
    data: data
  })
}

// 删除圈子行程
export function delCircleStroke(id) {
  return request({
    url: '/system/circleStroke/' + id,
    method: 'delete'
  })
}

// 导出圈子行程
export function exportCircleStroke(query) {
  return request({
    url: '/system/circleStroke/export',
    method: 'get',
    params: query
  })
}